package routers

import (
	"go/controllers"

	"github.com/gin-gonic/gin"
)

func courseRouter(r *gin.RouterGroup) {
	r.POST("/course", controllers.AddCourse)
	r.DELETE("/course", controllers.DelCourse)
	r.PUT("/course", controllers.UpdateCourse)
	r.GET("/course", controllers.GetCourse)
}
